package org.example;

import com.google.gson.Gson;

/**
 * @author Demon
 * @description TODO
 * @date 20/1/2024  下午5:19
 */
public class CommonConstants {
    public static final Gson GSON = new Gson();
    /**
     * 保证每次的root不同、每次获取当前时间
     */
    public static final String CURRENT_TIME = String.valueOf(System.currentTimeMillis());

    public static final String PUBLISHER_POSTFIX = "get";
    public static final String CONNECTOR1 = "|";
    public static final String CONNECTOR2 = "=";
    public static final String CONNECTOR3 = ",";
    public static final String CONNECTOR4 = "-";
    public static final String CONNECTOR5 = "_";
    public static final String CONNECTOR6 = "/";
    public static final String CONNECTOR7 = "#";
    public static final String SECURE_MODE = "securemode";
    public static final String SECURE_MODE_VALUE = "3";
    public static final String SIGN_METHOD = "signmethod";
    public static final String TIMESTAMP = "timestamp";
    public static final String CLIENT_ID = "clientId";
    public static final String DEVICE_NAME = "deviceName";
    public static final String PRODUCT_KEY = "productKey";
    public static final String HMAC_SHA1_ALGORITHM = "hmacsha1";

    /** 消息类型 */
    public static final String NAME_STRUCT = "nameStruct";


}
